package com.framework.seedkit.ui.encrypt;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.framework.seedkit.R;
import com.framework.seedkit.base.BaseActivity;

import butterknife.BindView;

/**
 * Created by ekimatsu on 16/11/22.
 */

public class EncryptActivity extends BaseActivity implements View.OnClickListener{
    @BindView(R.id.des_encrypt_btn)
    Button des_encrypt_btn;

    @BindView(R.id.des_decrypt_btn)
    Button des_decrypt_btn;

    @BindView(R.id.des3_encrypt_btn)
    Button des3_encrypt_btn;

    @BindView(R.id.des3_decrypt_btn)
    Button des3_decrypt_btn;

    @BindView(R.id.rsa_encrypt_btn)
    Button rsa_encrypt_btn;

    @BindView(R.id.rsa_decrypt_btn)
    Button rsa_decrypt_btn;

    @BindView(R.id.dh_encrypt_btn)
    Button dh_encrypt_btn;

    @BindView(R.id.dh_decrypt_btn)
    Button dh_decrypt_btn;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }

    @Override
    public void initView() {
        setListener();


    }

    @Override
    protected void onResume() {
        super.onResume();

        //todo
    }

    @Override
    public void onClick(View v) {

    }

    protected int getLayoutId() {
        return R.layout.act_encrypt;
    }

    private void setListener() {
        des_encrypt_btn.setOnClickListener(this);
        des_decrypt_btn.setOnClickListener(this);
        des3_encrypt_btn.setOnClickListener(this);
        des3_decrypt_btn.setOnClickListener(this);
        rsa_encrypt_btn.setOnClickListener(this);
        rsa_decrypt_btn.setOnClickListener(this);
        dh_encrypt_btn.setOnClickListener(this);
        dh_decrypt_btn.setOnClickListener(this);
    }
}
